package cn.zust.itcost.entity.graph.node;

import org.springframework.data.neo4j.core.schema.Id;
import org.springframework.data.neo4j.core.schema.Node;
import org.springframework.data.neo4j.core.schema.Property;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Node("Salary")
public class SalaryNode {

    @Id
    private Long id;
    
    @Property("amount")
    private Double amount;
    
    @Property("year")
    private Integer year;
    
    @Property("month")
    private Integer month;
    
    @Property("description")
    private String description;
}
